package com.ada.base.security.service;

import com.ada.base.security.entity.Authority;
import com.ada.base.security.entity.res.AuthorityRes;

import java.util.List;

public interface AuthorityService {
    List<Authority> findAuthorityByUserId(Integer userId);

    Authority findByUrlAndMethod(String url, String method);

    List<AuthorityRes> authorityList();

    List<AuthorityRes> findAuthorityByRoleId(long roleId);
}
